package com.sneakxy.mybase4j.generator.config;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author 潜行的青衣
 * @see
 */
@XmlRootElement(name = "config", namespace="http://www.mybase4j.org/generator")
public class Config {

	private String plugin;
	
	private Dirs dirs;
	
	private Jdbc jdbc;

	private GeneratorConfig generator;
	
	@XmlElement(name="plugin", namespace="http://www.mybase4j.org/generator")
	public String getPlugin() {
		return plugin;
	}

	public void setPlugin(String plugin) {
		this.plugin = plugin;
	}

	@XmlElement(name="dirs", namespace="http://www.mybase4j.org/generator")
	public Dirs getDirs() {
		return dirs;
	}

	public void setDirs(Dirs dirs) {
		this.dirs = dirs;
	}

	@XmlElement(name="jdbc", namespace="http://www.mybase4j.org/generator")
	public Jdbc getJdbc() {
		return jdbc;
	}

	public void setJdbc(Jdbc jdbc) {
		this.jdbc = jdbc;
	}

	@XmlElement(name="generator", namespace="http://www.mybase4j.org/generator")
	public GeneratorConfig getGenerator() {
		return generator;
	}

	public void setGenerator(GeneratorConfig generator) {
		this.generator = generator;
	}
	
}
